package java_thinking.unit_10._10_7.Exercise;

/**
 * @Description :   创建一个包含嵌套类的类，在main中创建其内部类的实例
 * @author: cww
 * @DateTime: 2019-03-10 20:31
 */

class E18 {
    public static class InnerStatic{
        static int i =10;
        static int getI(){
            return i;
        }
    }
}

class E18Test{
    public static void main(String[] args) {
        int b = E18.InnerStatic.getI();
        System.out.println(b);
        E18.InnerStatic innerStatic = new E18.InnerStatic();
    }
}
